package pl.mess.core.tags.elements;

import javax.servlet.jsp.JspException;
import pl.mess.core.tags.ifc.ControlAttribute;

/**
 * Created by IntelliJ IDEA.
 * User: gibffe
 * Date: Mar 16, 2006
 * Time: 5:07:30 AM
 * To change this template use File | Settings | File Templates.
 */
public class MESSWindowTag extends MESSBaseTag {

    private static final String TAG_NAME = "window";

    /**
     * Window control title string property
     */
    @ControlAttribute public String title = null;

    /**
     * Window control theme selectro string
     */
    @ControlAttribute public String theme = null;

    /**
     * Window header size (in pixels)
     */
    @ControlAttribute public Integer headerSize = null;

    /**
     * Window floating flat
     */
    @ControlAttribute public Boolean floating = null;

    /**
     * Window opacity value
     */
    @ControlAttribute public Double opacity = null;

    /**
     * Window icon
     */
    @ControlAttribute public String icon = null;




    public String getTagName() {
        return TAG_NAME;
    }
    
    public int doStartTag() throws JspException {

        return super.doStartTag();
    }

    public int doEndTag() throws JspException {

        return super.doEndTag();
    }


    // property: title
    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return this.title;
    }

    // property: theme
    public void setTheme(String theme) {
        this.theme = theme;
    }

    public String getTheme() {
        return this.theme;
    }

    // property: headerSize
    public void setHeaderSize(Integer size) {
        this.headerSize = size;
    }

    public Integer getHeaderSize() {
        return this.headerSize;
    }

    // property: floating
    public Boolean getFloating() {
        return floating;
    }

    public void setFloating(Boolean floating) {
        this.floating = floating;
    }

    // property: opacity
    public Double getOpacity() {
        return opacity;
    }

    public void setOpacity(Double opacity) {
        this.opacity = opacity;
    }

    // property: icon
    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}


